import { createRouter, createWebHashHistory } from 'vue-router'
import routers from './routers'

const router = createRouter({
	history: createWebHashHistory(process.env.BASE_URL),
	routes: routers
})

// router.beforeEach(async (to, from, next) => {})
//
// router.afterEach(to => {})

export default router
